package com.example.demo.demos.web.Resoult;



public class ErrorResponse {
    private int code;   // 错误类型
    private String message; // 错误信息

    public ErrorResponse(int code, String message) {
        this.code = code;
        this.message = message;
    }

    // Getters 和 Setters
    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
